package com.softer.wxzj.service;

import com.softer.wxzj.entity.FlowAuditdetail;
import com.softer.wxzj.entity.FlowInstance;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * RoleService class
 * @author zcz
 * @date 2019/1/16
 */
public interface FlowAuditdetailService{
    /**
     * 根据业务id和类型查询审批意见
     * @param businessId
     * @param flowType
     * @return
     */
    List<FlowAuditdetail> getAuditdetailList(String businessId, String flowType);
    /**
     * 根据业务id和流程类型查询所有审批详情列表
     * @param businessId
     * @param flowState
     * @return
     */
    List<FlowInstance> getHistoryList(String businessId, String flowState,String modifyId);
    /**
     * 根据业务id和类型查询当前的审批意见
     * @param businessId
     * @param flowType
     * @return
     */
    List<FlowAuditdetail> getCurrentAuditdetailList(@Param("businessId") String businessId, @Param("flowType") String flowType);

}
